package com.ai.platform.spider.core.collocate;
import java.io.Serializable;
import java.util.List;

/**
 * 功能描述
 * 创建者 yeyingsheng
 * 创建时间 2018年06月25日
 */
public class Field implements Serializable {

    private String name;
    private String value;
    private String xpath;
    private String attr;
    private boolean fromDoc;
    private boolean array;
    private List<Field> fieldList;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getXpath() {
        return xpath;
    }

    public void setXpath(String xpath) {
        this.xpath = xpath;
    }

    public String getAttr() {
        return attr;
    }

    public void setAttr(String attr) {
        this.attr = attr;
    }

    public boolean isFromDoc() {
        return fromDoc;
    }

    public void setFromDoc(boolean fromDoc) {
        this.fromDoc = fromDoc;
    }

    public boolean isArray() {
        return array;
    }

    public void setArray(boolean array) {
        this.array = array;
    }

    public List<Field> getFieldList() {
        return fieldList;
    }

    public void setFieldList(List<Field> fieldList) {
        this.fieldList = fieldList;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
